package cn.gzjp.modules.it.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gzjp.common.persistence.Page;
import cn.gzjp.common.service.CrudService;
import cn.gzjp.modules.it.dao.WzLogDao;
import cn.gzjp.modules.it.entity.WzLog;

/**
 * 违章记录Service
 * @author zengcp
 * @version 2018-01-12
 */
@Service
@Transactional(readOnly = true)
public class WzLogService extends CrudService<WzLogDao, WzLog> {

	public WzLog get(String id) {
		return super.get(id);
	}
	
	public List<WzLog> findList(WzLog wzLog) {
		return super.findList(wzLog);
	}
	
	public Page<WzLog> findPage(Page<WzLog> page, WzLog wzLog) {
		return super.findPage(page, wzLog);
	}
	
	@Transactional(readOnly = false)
	public void save(WzLog wzLog) {
		super.save(wzLog);
	}
	
	@Transactional(readOnly = false)
	public void delete(WzLog wzLog) {
		super.deleteByLogic(wzLog);
	}
	
}